import pageTools from "./pageTools";
import UploadExcel from "./UploadExcel";
import ImageUpload from "./ImageUpload";
import ScreenFull from "./ScreenFull";
import ThemePicker from "./ThemePicker";
import lang from "./lang";
import TagsView from "@/layout/components/TagsView";
export default {
  install(Vue) {
    //vue.use会调用vue中的install方法，参数Vue是vue全局实例对象
    //  注册全局的通用栏组件对象
    Vue.component("PageTools", pageTools);
    Vue.component("UploadExcel", UploadExcel);
    Vue.component("ImageUpload", ImageUpload);
    Vue.component("ScreenFull", ScreenFull); // 注册全屏组件
    Vue.component("ThemePicker", ThemePicker); //更改颜色值
    Vue.component("lang", lang); //封装的多语言切换组件
    Vue.component("TagsView", TagsView);
  },
};
